

#define ERRNO_MAX 8

#define ERR_PERM 1
#define ERR_UNEX 2
#define ERR_NLEN 3
#define ERR_FILEX 4
#define ERR_NOTDIR 5
#define WRONG_FD 6
#define WRONG_TYPE 7
#define UNKNOW 8


extern int errno;


void init_errno();
char* strerror(int n);
